var aUi = aUi || {};
aUi.orders = {

	_addorderlist: function(data) {
		var html = '<li data-id="' + data.id + '"  data-picktaskno="' + data.picktaskno +
			'" class="mui-table-view-cell mui-media item-cell" style="display:;">' +
			'<div class="content-top">' +
			'<div class="top-title">拣货任务单号：' + data.picktaskno + '</div>' +
			'</div>' +
			'<div class="content-mid">' +
			'</div>' +
			'<div class="bottom-content">' +
			'<div class="user">' +
			'<div class="avarimage">' +
			'<img class="" src="../../../images/me/icon_avatar.png">' +
			'</div>' +
			'<div class="name">' + data.creator + '</div>' +
			'</div>' +
			'<div class="time">' + data.createtime + '</div>' +
			'</div>' +
			'</li>';
		return html;
	},


	orderlist: function(list) {
		var html = "";
		for (var i = 0; i < list.length; i++) {
			var data = list[i];
			if (data.pickState == 0 ) {
				html += this._addorderlist(data);
			}
		}
		return html;
	},
};
